package com.zxc.dao;

import com.zxc.entity.Emp;

import java.util.List;

/**
  * @author: zxc
  * @return:
  * @time:  2021/5/20 19:06
  * @description:
  */
public interface EmpMapper {

    List<Emp> getAll();

    int addEmp(Emp emp);

    int delEmp(int eno);

    int updateEmp(Emp emp);

    Emp getEmpByEname(String ename);
    Emp getEmpByEno(int eno);
}
